package io.renren.modules.areainfos.dao;

import io.renren.modules.areainfos.entity.AreainfosEntity;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author 
 * @email 
 * @date 2018-10-30 17:39:18
 */
@Mapper
public interface AreainfosDao extends BaseDao<AreainfosEntity> {
    List<AreainfosEntity> queryNotPagerList();

    int isParentNode(Integer columnid);

    int isExistArea(Integer columnid);

    List<AreainfosEntity> apiQueryByParentId(Integer parentid);

    //根据地区号查询id
    String queryAreaidByColumnId(String columnId);

    List<AreainfosEntity> queryByParentId(Integer parentid);
}
